package pjwstk.jps.ast.terminal;

import pjwstk.jps.ast.Expression;
import pjwstk.jps.visitor.ASTVisitor;

/**
 * @author s9111_s10304
 *
 */
public class IntegerTerminal extends Expression implements IIntegerTerminal {
    private Integer value;
    
    public IntegerTerminal(Integer aValue) {
        value = aValue;
    }
    
    public Integer getValue() {
        return value;
    }   

    @Override
    public void accept(ASTVisitor visitor) {
        visitor.visitIntegerTerminal(this);
    }
}